package com.ht.dao.student;

import com.ht.bean.student.Studentclass;
import com.ht.bean.student.Studentfloor;
import com.ht.util.Pager;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 王金宝
 * @date 2020/6/10 10:47
 *
 */
public interface StudentclassMapper {
    List<Studentclass> byFallId(Integer id);//查找该届别下的所有班级

    List<Studentclass> selList();//查询所有

    int selCount(@Param("studentclass")Studentclass studentclass);//查询总数

    List<Map> sybase(@Param("pager")Pager pager, @Param("studentclass")Studentclass studentclass);//分页

    int deleteByPrimaryKey(Integer classid);

    int insert(Studentclass record);

    int insertSelective(Studentclass record);

    Studentclass selectByPrimaryKey(Integer classid);

    int updateByPrimaryKeySelective(Studentclass record);

    int updateByPrimaryKey(Studentclass record);
}